package cn.yunhe.entity.userentity;


import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * 李非凡
 * 用户账号密码实体类
 */
@Data
public class UserAccount implements Serializable {
    private int uid;
    private String account;
    private String password;
    private int flag;
    private String tel;
    //加入时间
    private Date createDate;

    public UserAccount() {
    }

    public UserAccount(int uid) {
        this.uid = uid;
    }

    public UserAccount(String account) {
        this.account = account;
    }

    public UserAccount(String account, String password) {
        this.account = account;
        this.password = password;
    }

    public UserAccount(int uid, String account, String password, int flag, String tel, Date createDate) {
        this.uid = uid;
        this.account = account;
        this.password = password;
        this.flag = flag;
        this.tel = tel;
        this.createDate = createDate;
    }
}
